package com.koocloud.electroplatemanage.pojo;

import java.sql.Timestamp;

/**
 * @program: electroplatemanage
 * @description: 人员实体
 * @author: zww
 * @create: 2020-09-29 15:54
 */
public class PersonVo {
    private String idOrName;//模糊查询接参数用
    private String pkPerson;//主键
    private String code;//编码
    private String name;//名称
    private String deleteFlag;//逻辑删除标志 0删除 1.未删除
    private Timestamp createTime;//创建时间
    private Timestamp updateTime;//修改时间
    /* private String def1;//自定义项1
    private String def2;//自定义项2
    private String def3;//自定义项3
    private String def4;//自定义项4
    private String def5;//自定义项5*/

    public PersonVo() {
       super();
    }

    public PersonVo(String pkPerson, String code, String name, String deleteFlag,
                    Timestamp createTime, Timestamp updateTime) {
        this.pkPerson = pkPerson;
        this.code = code;
        this.name = name;
        this.deleteFlag = deleteFlag;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public String getIdOrName() {
        return idOrName;
    }

    public void setIdOrName(String idOrName) {
        this.idOrName = idOrName;
    }

    public String getPkPerson() {
        return pkPerson;
    }

    public void setPkPerson(String pkPerson) {
        this.pkPerson = pkPerson;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Person{" +
                "pkPerson='" + pkPerson + '\'' +
                ", code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", deleteFlag='" + deleteFlag + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}